package au.edu.swin.videoshop.service;

import java.util.List;

import au.edu.swin.videoshop.bean.Title;
import au.edu.swin.videoshop.bean.TitleCategory;
import au.edu.swin.videoshop.bean.TitleCopy;
import au.edu.swin.videoshop.bean.TitleSearchCriteria;

public interface TitleService {
	public void addTitleCategory(TitleCategory titleCategory);
	public void markDeleteTitleCategory(long id);
	public void updateTitleCategory(TitleCategory titleCategory);
	
	public void addTitle(Title title);
	public void markDeleteTitle(long id);
	public void updateTitle(Title title);
	
	public void markDeleteTitleCopy(String id);
	
	public TitleCopy findTitleCopyByTilteCopyId(String id);
	public TitleCategory findCategoryByTilteCategoryId(long id);
	public List<TitleCategory> findAllCategories();
	public List<TitleCopy> findAllTitleCopies();
	public List<Title> findAllTitles();
	public List<TitleCopy> findTitleCopiesByStoreId(long storeId);
	public List<Title> findTitlesByCategoryId(long categoryId);
	public List<Title> findTitlesBySearchCriteria(TitleSearchCriteria criteria);
}
